package com.aliyun.oss.pojo;

public class ResultMessage {
    private boolean isSystemMessage;
    private String fromName;
    private Object message;

    @Override
    public String toString() {
        return "ResultMessage{" +
                "isSystemMessage=" + isSystemMessage +
                ", fromName='" + fromName + '\'' +
                ", message=" + message +
                '}';
    }

    public ResultMessage() {
    }

    public ResultMessage(boolean isSystemMessage, String fromName, Object message) {
        this.isSystemMessage = isSystemMessage;
        this.fromName = fromName;
        this.message = message;
    }

    public boolean isSystemMessage() {
        return isSystemMessage;
    }

    public void setSystemMessage(boolean systemMessage) {
        isSystemMessage = systemMessage;
    }

    public String getFromName() {
        return fromName;
    }

    public void setFromName(String fromName) {
        this.fromName = fromName;
    }

    public Object getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = message;
    }
}
